﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// PB_Printer
    /// </summary>
    [Table("PB_Printer")]
    public partial class PB_Printer
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 打印机编号
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 打印机名称
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// 组织编码
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 类型（0-条码；1-工序）
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 车间编码
        /// </summary>
        public string WorkshopId { get; set; }

        /// <summary>
        /// 工作站编码
        /// </summary>
        public String WorkStationId { get; set; }

        /// <summary>
        /// 打印机ip地址
        /// </summary>
        public String IP { get; set; }

        /// <summary>
        /// 打印机Mac地址
        /// </summary>
        public String Mac { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remarks { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 当前状态：0=正常；1-故障
        /// </summary>
        public Int32? Status { get; set; }

        /// <summary>
        /// 设备Id
        /// </summary>
        public string DeviceId { get; set; }


    }
}